package interpreter


type tExpressionRowFilter struct {
	expression IBoolExpression
}

func newExpressionRowFilter(e IBoolExpression) IRowFilter {
	return &tExpressionRowFilter{
		expression: e,
	}
}

func (me *tExpressionRowFilter) Filter(row IDataRow) bool {
	return me.expression.Eval(row)
}
